package com.javaspeak.concurrency.structures.arrayblockingqueue;

/**
 * @author John Dickerson
 */
public class TestScenario {

    int numberQueueObjects;
    int numberWritingThreads;
    int numberReadingThreads;


    public String toString(){

        StringBuilder sb = new StringBuilder();
        sb.append( "Write threads:");
        sb.append( numberWritingThreads );
        sb.append( " / Read threads:" );
        sb.append( numberReadingThreads );

        return sb.toString();
    }


    public int getNumberQueueObjects() {

        return numberQueueObjects;
    }


    public void setNumberQueueObjects(int numberQueueObjects) {

        this.numberQueueObjects = numberQueueObjects;
    }


    public int getNumberWritingThreads() {

        return numberWritingThreads;
    }


    public void setNumberWritingThreads(int numberWritingThreads) {

        this.numberWritingThreads = numberWritingThreads;
    }


    public int getNumberReadingThreads() {

        return numberReadingThreads;
    }


    public void setNumberReadingThreads(int numberReadingThreads) {

        this.numberReadingThreads = numberReadingThreads;
    }
}
